package com.example.demo.mapper;

import com.example.demo.domain.Department;
import com.example.demo.domain.Vo.DepartmentVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DepartmentMapper {
    List<DepartmentVo> selectDepartment(Department department);

    void insertDepartment(Department department);

    void updateDepartmentById(Department department);

    void delDepartmentById(long departmentId);
}
